package com.itheima.mapper.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.pms.PmsProductCategory;
import com.itheima.pojo.pms.vo.PmsProductCategoryWithChildrenItemVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PmsProductCategoryMapper extends BaseMapper<PmsProductCategory> {


    List<PmsProductCategoryWithChildrenItemVo> listWithChildren();

    List<PmsProductCategory> findByParentId();

    List<PmsProductCategory> findById(Long id);
}
